# -*- coding: utf-8 -*-
"""
Created on Fri Apr 12 07:21:14 2019

@author: LENOVO
"""
"""
class TestA:
    attr = 1
obj_a = TestA()

TestA.attr = 42
print(obj_a.attr)

class TestB:
    attr = 1
obj_a = TestB()
obj_b = TestB()
obj_a.attr = 42
print(obj_b.attr)
"""
class TestC:
    attr = 4
    def __init__(self):
        self.attr = 42
obj_a = TestC()
print(obj_a.attr)


